package com.ypbase.cloud.tags.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cloud.framework.core.dal.entity.MyBaseEntity;

@Entity()
@Table(name = "tb_tag_category")
public class TagCategory extends MyBaseEntity<Long> implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ID", nullable = false, updatable = false, length = 20)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	@Column(name = "COMPANY_ID", nullable = true, length = 20)
	private Long companyId;

	@Column(name = "NAME_EN", nullable = true, length = 50)
	private String nameEn;

	@Column(name = "NAME_CN", nullable = true, length = 50)
	private String nameCn;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * COMPANY_ID BIGINT(20)
	 */
	public Long getCompanyId() {
		return companyId;
	}

	/**
	 * COMPANY_ID BIGINT(20)
	 */
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	/**
	 * NAME_EN VARCHAR(50)
	 */
	public String getNameEn() {
		return nameEn;
	}

	/**
	 * NAME_EN VARCHAR(50)
	 */
	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	/**
	 * NAME_CN VARCHAR(50)
	 */
	public String getNameCn() {
		return nameCn;
	}

	/**
	 * NAME_CN VARCHAR(50)
	 */
	public void setNameCn(String nameCn) {
		this.nameCn = nameCn;
	}

}
